package io.github.doc.util;

import com.intellij.psi.PsiElement;

/**
 * 注释插件
 *
 * @author ZH.Team
 * @version 1.0.0
 * @email "mailto:ZH.Team@zhxx.com"
 * @date 2025.01.27 18:21
 * @since y.y.y
 */
public class DocPluginUtils {

    /**
     * Is java element
     *
     * @param psiElement psi element
     * @return the boolean
     * @since y.y.y
     */
    public static boolean isJavaElement(PsiElement psiElement) {
        return psiElement != null && psiElement.getLanguage().getID().equals("JAVA");
    }

}
